package com.wu.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

@Data
@ApiModel("删除问卷DTO")
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
public class PaperDeleteDTO implements Serializable{

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("问卷ID列表")
    @NotNull(message = "删除问卷id不能为空")
    List<String> paperIds;

    @ApiModelProperty("操作flag 普通删除/彻底删除")
    String flag;

}
